<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>发表文章</title>
<link rel="stylesheet" type="text/css" href="../css/base.css" />
<script src="../js/jquery-1.7.2.min.js" type="text/javascript"></script>
<!-- 验证控件 -->
<script src="../js/formValidator/formValidator-4.1.1.js" type="text/javascript" charset="UTF-8"></script>
<script src="../js/formValidator/formValidatorRegex.js" type="text/javascript" charset="UTF-8"></script>
<!-- 省份 -->
<script src="../js/province.js" type="text/javascript" charset="UTF-8"></script>
<!-- 文本编辑器 -->

<link rel="stylesheet" href="../js/kindeditor/plugins/code/prettify.css" />
<script charset="utf-8" src="../js/kindeditor/plugins/code/prettify.js"></script>
<script type="text/javascript" src="../js/kindeditor/kindeditor-min.js" ></script>
<script type="text/javascript" src="../js/kindeditor/zh_CN.js" ></script>
<!-- date picker 日期控件 -->
<link rel="stylesheet" href="../js/datepicker/datepicker.css" />
<script  type="text/javascript" src="../js/datepicker/bootstrap-datepicker.js"></script>
<script type="text/javascript">
var editor;
KindEditor.ready(function(K) {
	editor = K.create('textarea[name="article.content"]', {
		cssPath : '../js/kindeditor/plugins/code/prettify.css',
		allowFileManager : true,
		width : '680px',
		height : '200px',
		uploadJson : '../kindeditor/upload',
		fileManagerJson : '../kindeditor/manager',
		allowFileManager : true,
		items : [ 'bold', 'italic', 'underline', 'strikethrough', 'removeformat','|','forecolor', 'hilitecolor',  
					 'title', 'fontname', 'fontsize',  '|', 
					 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', '|', 
					 'link', 'unlink', 'emoticons', 'image', 'flash', '|','selectall','source' ,'about'
					 ]
	});
	//prettyPrint();
});

</script>
</head>

<body>
<div style="width: 600px;">
<a href="../">返回首页</a>
<h1 style="text-align: center;font-weight: bold;">${bookContent.date}</h1>

<br/>
<hr/>
${bookContent.content}
<hr/>
${bookContent.comment}


</div>
</html>

